package com.electromagnetic.industry.software.manage.pojo.models;

import lombok.Data;
import lombok.Getter;

@Data
@Getter
public class Edge {
    String source; // 起点
    String target;   // 终点
    String relationId; //关系id
    String relationship; //关系描述

    public Edge(String source, String target, String relationId, String relationship) {
        this.source = source;
        this.target = target;
        this.relationId = relationId;
        this.relationship = relationship;
    }
}
